01f8991d3bda44ce12a7b81f680906e1adad4d41,nuget-feed/src/jetbrains/buildServer/nuget/feed/server/olingo/processor/NuGetPackagesProcessor.java,NuGetPackagesProcessor,readEntitySimplePropertyValue,#GetSimplePropertyUriInfo#String#,304
Before Change
@Override
public ODataResponse readEntitySimplePropertyValue(final GetSimplePropertyUriInfo uriInfo, final String contentType)
throws ODataException {
final Object data = retrieveData(
uriInfo.getStartEntitySet(),
uriInfo.getKeyPredicates(),
uriInfo.getFunctionImport(),
mapFunctionParameters(uriInfo.getFunctionImportParameters())
);
// if (!appliesFilter(data, uriInfo.getFilter()))
if (data == null) {
After Change
public ODataResponse readEntitySimplePropertyValue(final GetSimplePropertyUriInfo uriInfo, final String contentType)
throws ODataException {
final ODataContext context = getContext();
final V2FeedPackage data = NuGetMapper.mapPackage((NuGetIndexEntry) retrieveData(
uriInfo.getStartEntitySet(),
uriInfo.getKeyPredicates(),
uriInfo.getFunctionImport(),
mapFunctionParameters(uriInfo.getFunctionImportParameters())
), context.getPathInfo().getServiceRoot());
// if (!appliesFilter(data, uriInfo.getFilter()))
if (data == null) {